<div class="comment_bar">
	<!--{if $this->session->userdata('userinfo')}-->
	<input type="text" id="comment_content_{$aid}"/>
	<input type="hidden" id="key_{$aid}" value="{$key}" id="key">
	<button value="" onclick="sendComment({$aid})">评论</button>
	<!--{else}-->
	<span>请<a href="javascript:$('#ajax_login').dialog('open');void(0);">登录</a>进行评论</span>	
	<!--{/if}-->
</div>
<ul>
	<!--{if $comments}-->
		<!--{loop $comments $comment}-->
		<li id="comment_{$comment['cid']}">
			<div class="head_pic"><a href="{$comment['weibo_url']}">
				<img src="<!--{$comment[avatar]}-->"/></a>
				
			</div>
			<div class="content">
				<div class="comment_text">{$comment['username']}:{$comment['content']}</div>
				<div class="content_more">{$comment['dateline']}
					<!--{if $userinfo['uid']}-->
						<!--{if $userinfo['uid'] == $comment['uid']}-->
						<a href="javascript:delComment({$aid},{$comment[cid]});" >删除</a>
						<!--{/if}-->					
					<!--{/if}-->
                  </div>
			</div>
		</li>
		<!--{/loop}-->
	<!--{else}-->
		<li>暂无评论</li>
	<!--{/if}-->
</ul>
<span class="shouqi">
	<a href="javascript:toggleActivity({$aid});" >收起</a>
</span>